style {
  margin: 0;
  padding: 0;
  background: #ccc;
}

.nav ul {
  list-style: none;
  background-color: black;
  text-align: center;
  padding:0;
  margin: 0;
}

.nav li {
  font-family: 'Oswald';
  font-size: 1.2em;
  line-height: 20px;
  text-align: center;
}
.nav a {
  text-decoration: none;
  color: #fff;
  display: block;
  padding-left: 0px;
  border-bottom: 1px solid #888;
  transition: .4s background-color: #005f5f;
}

.nav a:hover {
  background-color: #005f5f;
}

.nav a.active {
  background-color: #aaa;
  color: #444;
  cursor: pointer;
}

/* Sub Menus */
.nav li li {
  font-size: 0.8em;
}

/*******************************************
   Style menu for larger screens

   Using 650px (130px each * 5 items), but ems
   or other values could be used depending on other factors
********************************************/
@media only screen and (min-width: 130px) {

  .nav li {
    width: 160px;
    border-bottom: none;
    height: 50px;
    line-height: 50px;
    font-size: 0.9em;
    display: inline-block;
    margin-right: 05px;
  }

  .nav a {
    border-bottom: none;
  }

  .nav > ul > li {
    text-align: center;
  }

  .nav > ul > li > a {
    padding-left: 0;
  }

  /* Sub Menus */
  .nav li ul {
    position: absolute;
    display: none;
    width: inherit;
  }

  .nav li:hover ul {
    display: block;
  }

  .nav li ul li {
    display: block;
  }
}


